const dataCovid = require('./疫情数据.json');
const testData = require('./dataTest.json');
const wordMap = require('../../../src/config/geojson/world.json');
const fs = require('fs');
const areaMap = []
testData.forEach((data)=>{
  areaMap.push(data.area);
});
const str = JSON.stringify(areaMap);
fs.writeFile('areaWorld.json',str,function(err){
  if (err) {res.status(500).send('Server is error...')}
})
console.log('areaMap----------------------------->',areaMap);